package core.util
{
	public class ObjectUtil
	{
		public function ObjectUtil()
		{
			
		}
		public static function length(obj:Object):int
		{
			if(!obj)
			{
				return 0;
			}else{
				var count:int = 0;
				for(var i:String in obj)
				{
					count++;
				}
				return count;
			}
		}
	}
}